home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / library / rqtlsusr.lha / ReqTools / RexxReqTools / Examples / TTXARexx.lha / GotoLine.ttx < prev    next >
Text File  |  1993-10-21  |  369b  |  16 lines

  1. /* $VER: GotoLine.ttx 1.2 (30.09.93) */
  2.  
  3. OPTIONS RESULTS
  4.  
  5. GetFileInfo
  6. PARSE VAR RESULT Lines .
  7. GetCursorPos
  8. PARSE VAR RESULT CurrentLine .
  9.  
  10. Line = rtGetLong( , "Go to line (current: "CurrentLine"):", "TurboText request",, "RT_PubScrName=TURBOTEXT RTGL_Flags=GLREQF_CENTERTEXT RTGL_Min=1 RTGL_Max=" || Lines )
  11.  
  12. IF rtResult = 1 THEN DO
  13.   Move FOLDS Line
  14.   CenterView
  15. END
  16.